Closed
Bug 1918098
Opened 9 months ago
Closed 7 months ago
Upgrade to ruff 0.6.4
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox134 fixed)
RESOLVED
FIXED
134 Branch
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(5 files)
Our version (0.0.254) is from March 2023
Assignee | ||
Comment 1•9 months ago
|
||
Updated•9 months ago
|
Assignee: nobody → sledru
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 months ago
|
||
- Rename --format to the new option + include it in the verbose command
Updated•8 months ago
|
Attachment #9424268 -
Attachment description: Bug 1918098 - Run ruff 0.6.4 on our codebase r?#linter-reviewers → Bug 1918098 - ruff: fix the errors identified by 0.6.4 r?#linter-reviewers
Assignee | ||
Comment 3•8 months ago
|
||
Done with with
$ ./mach lint -l ruff --verbose . --fix --warnings
with this line commented:
https://searchfox.org/mozilla-central/source/tools/lint/python/ruff.py#140
And reformat with
$ ./mach lint -l black --verbose . --fix --warnings
Updated•8 months ago
|
Attachment #9424269 -
Attachment description: Bug 1918098 - mozlint/ruff: upgrade ruff to v0.6.4 r?#linter-reviewers → Bug 1918098 - ruff: upgrade ruff to v0.6.4 r?#linter-reviewers
Assignee | ||
Comment 4•8 months ago
|
||
Assignee | ||
Comment 5•8 months ago
|
||
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89f52bcdc0be
ruff: --verbose --fix should show the fix command too r=linter-reviewers,ahal DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Comment 8•7 months ago
|
||
Reopened for unpublished changesets.
Updated•7 months ago
|
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6c6f0ed3315
ruff: fix the errors identified by 0.6.4 r=linter-reviewers,taskgraph-reviewers,releng-reviewers,webdriver-reviewers,perftest-reviewers,migration-reviewers,jmaher,whimboo,sparky,xpcom-reviewers,beth,ahal,mconley
https://hg.mozilla.org/integration/autoland/rev/9e2ed7d78b95
ruff: upgrade ruff to v0.6.4 r=linter-reviewers,ahal
Comment 10•7 months ago
|
||
bugherder |
Comment 11•7 months ago
|
||
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0181cee9f5da
ruff: also run --fix for warnings r=linter-reviewers,ahal DONTBUILD
Assignee | ||
Updated•7 months ago
|
Keywords: leave-open
Comment 12•7 months ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 7 months ago → 7 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•